<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@page import="java.util.*"%>
<style type="text/css">
.customer_menu_div {width: 960px;margin: 0 auto;border: 1px solid #ccc;margin-top: 5px;}
.customer_welcome{background: #ffffff;padding: 10px 0px 10px 30px;}
.customer_summary{background: #f5f5f5;font-size: 14px;padding: 10px 0px 10px 30px;}
.customer_summary li {line-height: 30px;}
</style>
<div class="customer_menu_div">
	<div class="customer_welcome">
		<span style="font-size: 14px;font-weight: bold;">欢迎您，${sessionScope.customerInfo.userName}</span>
	</div>
	<div class="customer_summary">
		<div style="float: left;width: 170px;">
			<ul style="list-style: none;">
				<li>已提交订单：${sessionScope.count_total_order }件</li>
				<li>已付商品：${sessionScope.count_payed_order }件</li>
				<li>未付商品：${sessionScope.count_notpay_order }件</li>
			</ul>
		</div>
		<div style="float: left;width: 360px;">
			<%--<a href="${ctx }/customer/customerAction!index.do"><img border="0" width="100" height="32" src="../images/paimai/zfzp.jpg"/></a>
			<a href="${ctx }/customer/customerAction!queryBidRecord.do"><img border="0" width="100" height="32" src="../images/paimai/jpjl.jpg"/></a>
			<a href="${ctx }/customer/customerAction!preStore.do"><img border="0" width="100" height="32" src="../images/paimai/bzj.jpg"/></a>
			<a href="${ctx }/customer/customerAction!modifyAddressPrepare.do"><img border="0" width="110" height="32" src="../images/paimai/shdz.jpg"/></a> --%>
			<a href="${ctx }/customer/order!listAll.do"><img border="0"  src="../images/order/wddd.png"/></a>
			<a href="${ctx }/customer/order!listNotPay.do"><img border="0" src="../images/order/wfdd.png"/></a>
		</div>
		<div style="float: left;border-left-width: 1px;border-left-color: #ccc;border-left-style: solid;height: 105px;padding-left: 20px;padding-top: 15px;">
			<c:if test="${sessionScope.newest_list != null }">
				<c:forEach items="${sessionScope.newest_list}" var="result">
					<div style="width: 76px;height: 90px;float:left;margin-right:15px;border:1px solid #ccc;cursor: pointer"><div style="margin-top:8px;margin-left:8px;width: 60px;height: 74px;background-position: center center;background-image: url('${result.middleImageApath }');">
						<a href="${ctx}/ciyi/ciyi!detail.do?id=${result.id }" style="display: block;width: 60px;height: 74px;"></a>
					</div></div>
				</c:forEach>
			</c:if>
		</div>
		<div style="clear: both;"></div>
	</div>
</div>